package com.desire.bean.sys;

import com.desire.common.validation.group.Modify;
import com.desire.common.validation.group.Save;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author LittleDesire
 * @description
 * @date 2022-05-18 周三 15:34
 * @since 17
 */
@Data
public class Dict {
    @NotBlank(message = "字典id不能为空", groups = {Modify.class})
    String id;
    String dictcode;
    @NotBlank(message = "字典名称不能为空", groups = {Save.class, Modify.class})
    String dictname;
    String note;
    String parentid;
    int sorts;
    String euid;
}
